<template>
  <view class="cont">
    <view class="img">
      <image :src="$store.state.imgBaseUrl + '/cancelSuccess.png'"></image>
    </view>
    <view class="text1">
      提交成功
    </view>
    <view class="footer">
      <button type="primary" class="sub-btn cur" plain="true" @click="gotoPage">去首页</button>
    </view>
  </view>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    gotoPage () {
      // url: '../index/index'
      uni.switchTab({
        url: '/pages/index/index'
      })
    }
  }
}
</script>

<style scoped lang="scss">
.cont {
  height: 100vh;
  background-color: #FFFFFF;
}
.img {
  width: 366rpx;
  height: 220rpx;
  padding-top: 249rpx;
  margin: 0 auto 60rpx;
  image {
    width: 366rpx;
    height: 220rpx;
  }
}
.text1 {
  font-size: 32rpx;
  font-family: PingFang SC;
  font-weight: bold;
  color: rgba(67,67,67,1);
  line-height: 49rpx;
  text-align: center;
}
.footer {
  width: 100%;
  border-top: 1px solid #E1E1E1;
  padding: 14rpx 0 20rpx;
  background-color: #FFFFFF;
  position: absolute;
  bottom: 0;
  left: 0;
  button {
    height: 70rpx;
    margin: 0 32rpx;
    background-color: #636363;
    line-height: 70rpx;
    font-size: 30rpx;
    color: #ADA697;
    border: none;
    &.cur {
      color: #F6DA99;
      background-color: #434343;
    }
  }
  }

</style>
